package com.spring.test.feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-hi")
public interface HelloService {
    @GetMapping(value="hi")
    String home(@RequestParam("name") String name);
    
    @GetMapping(value = "hello")
    String hello();
}
